package com.zc.auth.security.core.access.meta;

import org.springframework.security.access.ConfigAttribute;

/**
 * *
 *
 * @author zcj
 * @version 1.0.0
 * @date 2022/7/11 17:21
 */
public class SimpleConfigAttribute implements ConfigAttribute {

    private String roleCode;

    public SimpleConfigAttribute(String roleCode) {
        this.roleCode = roleCode;
    }

    public SimpleConfigAttribute() {
    }

    @Override
    public String getAttribute() {
        return this.roleCode;
    }
}
